<?php

namespace maotool\src\test;

use maotool\util\MonthUtil;
use PHPUnit\Framework\TestCase;

class MonthUtilTest extends TestCase
{

    public function test1()
    {
        echo MonthUtil::current() . "\n";
        echo MonthUtil::currentShort() . "\n";
        echo MonthUtil::currentFull() . "\n";
        echo MonthUtil::currentCn() . "\n";
        echo MonthUtil::currentEn() . "\n";
        echo MonthUtil::currentMap([
                "january_number"
                , "february_number"
                , "march_number"
                , "april_number"
                , "may_number"
                , "june_number"
                , "july_number"
                , "august_number"
                , "september_number"
                , "october_number"
                , "november_number"
                , "december_number"]) . "\n";
        echo MonthUtil::currentStart() . "\n";
        echo MonthUtil::currentEnd() . "\n";
        echo MonthUtil::start("2023-02-01 00:00:00") . "\n";
        echo MonthUtil::end("2023-02-01 00:00:00") . "\n";
        $this->assertTrue(true);
    }

}